<? if(!defined('SHARE_VERSION')) exit('Access Denied');?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>无标题文档</title>
<link href="<?php echo IMG;?>Admin/common.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="<?php echo PUB;?>Scripts/Common/jquery-1.7.min.js"></script>
<script type="text/javascript" src="<?php echo PUB;?>Scripts/Admin/Index.js"></script>
<script type="text/javascript">
var menuNum	= <?php echo $menu_num;?>;	// 导航数量
</script>
</head>

<body>
<div id="pageloading" style="display: none; "></div>
<div id="header">
  <div class="system_name">管理系统</div>
  <div class="welcome_info">
    欢迎您！<a href="#" class="l-link2" target="_blank"><?php echo $this->login_user['user_name'];?></a> 
    <span class="space">|</span>
    <a href="<?php echo U('login/out');?>" class="l-link2" target="_blank">退出</a>
  </div>
</div>
<div id="wrap_main">
  <div id="warp_menu">
    <div class="menu_header">
      <div class="header_toggle"></div>
      <div class="header_inner">菜单导航</div>
    </div>
    <div class="menu_list">
      <?php foreach((array)$menu_list as $key=>$v) {?>
      <div class="item_header">
        <div class="header_toggle"></div>
      	<div class="header_inner"><?php echo $v['name'];?></div>
      </div>
      <?php if($v['node']) { ?>
      <div class="item_content">
        <ul>
          <?php foreach((array)$v['node'] as $k=>$vv) {?>
          <li><a href="<?php echo U($vv['controller'].'/'.$vv['operate']);?>" target="main"><?php echo $vv['name'];?></a></li>
          <?php }?>
        </ul>
      </div>
      <?php } ?>
      <?php }?>
      <div class="item_header">
        <div class="header_toggle"></div>
      	<div class="header_inner">区域设置</div>
      </div>
      <div class="item_content">fdsf</div>
      <div class="item_header">
        <div class="header_toggle"></div>
      	<div class="header_inner">区域设置</div>
      </div>
      <div class="item_content">fdsf</div>
      <div class="item_header">
        <div class="header_toggle"></div>
      	<div class="header_inner">区域设置</div>
      </div>
      <div class="item_content">fdsf</div>
    </div>
  </div>
  <div id="warp_center">
    <div class="center_tab">
      <div class="tab_title">当前操作</div>
    </div>
    <div id="frame_body">
     <iframe id="main" name="main" src="<?php echo U('index/main');?>" scrolling="auto" frameborder="0" width="100%" height="100%"></iframe>
    </div>
  </div>
</div>
<div id="footer">
	Copyright © 2011-2012 www.ligerui.com
</div>
</body>
</html>
